package br.iars.model.context;

import javax.ejb.Local;

import br.iars.model.entity.Context;
import br.iars.model.entity.Item;
import br.iars.model.entity.User;
import br.iars.model.exception.PersistenceException;

@Local
public interface ContextDataModel {

	Item load(Item item) throws PersistenceException;

	User load(User user) throws PersistenceException;

	Context load(Context context) throws PersistenceException;

	Item insert(Item item) throws PersistenceException;

	User insert(User user) throws PersistenceException;

	Context insert(Context context) throws PersistenceException;
	
	public Context update(Context context) throws PersistenceException;

}
